package com.lebang.example;

import java.time.LocalDateTime;
import java.util.ArrayList;
import java.util.List;

public class CencesHundredDownloadRecordExample {
    protected String orderByClause;

    protected boolean distinct;

    protected List<Criteria> oredCriteria;

    private Integer limit;

    private Long offset;

    public CencesHundredDownloadRecordExample() {
        oredCriteria = new ArrayList<Criteria>();
    }

    public void setOrderByClause(String orderByClause) {
        this.orderByClause = orderByClause;
    }

    public String getOrderByClause() {
        return orderByClause;
    }

    public void setDistinct(boolean distinct) {
        this.distinct = distinct;
    }

    public boolean isDistinct() {
        return distinct;
    }

    public List<Criteria> getOredCriteria() {
        return oredCriteria;
    }

    public void or(Criteria criteria) {
        oredCriteria.add(criteria);
    }

    public Criteria or() {
        Criteria criteria = createCriteriaInternal();
        oredCriteria.add(criteria);
        return criteria;
    }

    public Criteria createCriteria() {
        Criteria criteria = createCriteriaInternal();
        if (oredCriteria.size() == 0) {
            oredCriteria.add(criteria);
        }
        return criteria;
    }

    protected Criteria createCriteriaInternal() {
        Criteria criteria = new Criteria();
        return criteria;
    }

    public void clear() {
        oredCriteria.clear();
        orderByClause = null;
        distinct = false;
    }

    public void setLimit(Integer limit) {
        this.limit = limit;
    }

    public Integer getLimit() {
        return limit;
    }

    public void setOffset(Long offset) {
        this.offset = offset;
    }

    public Long getOffset() {
        return offset;
    }

    protected abstract static class GeneratedCriteria {
        protected List<Criterion> criteria;

        protected GeneratedCriteria() {
            super();
            criteria = new ArrayList<Criterion>();
        }

        public boolean isValid() {
            return criteria.size() > 0;
        }

        public List<Criterion> getAllCriteria() {
            return criteria;
        }

        public List<Criterion> getCriteria() {
            return criteria;
        }

        protected void addCriterion(String condition) {
            if (condition == null) {
                throw new RuntimeException("Value for condition cannot be null");
            }
            criteria.add(new Criterion(condition));
        }

        protected void addCriterion(String condition, Object value, String property) {
            if (value == null) {
                throw new RuntimeException("Value for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value));
        }

        protected void addCriterion(String condition, Object value1, Object value2, String property) {
            if (value1 == null || value2 == null) {
                throw new RuntimeException("Between values for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value1, value2));
        }

        public Criteria andIdIsNull() {
            addCriterion("id is null");
            return (Criteria) this;
        }

        public Criteria andIdIsNotNull() {
            addCriterion("id is not null");
            return (Criteria) this;
        }

        public Criteria andIdEqualTo(Integer value) {
            addCriterion("id =", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotEqualTo(Integer value) {
            addCriterion("id <>", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdGreaterThan(Integer value) {
            addCriterion("id >", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdGreaterThanOrEqualTo(Integer value) {
            addCriterion("id >=", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdLessThan(Integer value) {
            addCriterion("id <", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdLessThanOrEqualTo(Integer value) {
            addCriterion("id <=", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdIn(List<Integer> values) {
            addCriterion("id in", values, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotIn(List<Integer> values) {
            addCriterion("id not in", values, "id");
            return (Criteria) this;
        }

        public Criteria andIdBetween(Integer value1, Integer value2) {
            addCriterion("id between", value1, value2, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotBetween(Integer value1, Integer value2) {
            addCriterion("id not between", value1, value2, "id");
            return (Criteria) this;
        }

        public Criteria andCreateTimeIsNull() {
            addCriterion("create_time is null");
            return (Criteria) this;
        }

        public Criteria andCreateTimeIsNotNull() {
            addCriterion("create_time is not null");
            return (Criteria) this;
        }

        public Criteria andCreateTimeEqualTo(LocalDateTime value) {
            addCriterion("create_time =", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeNotEqualTo(LocalDateTime value) {
            addCriterion("create_time <>", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeGreaterThan(LocalDateTime value) {
            addCriterion("create_time >", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeGreaterThanOrEqualTo(LocalDateTime value) {
            addCriterion("create_time >=", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeLessThan(LocalDateTime value) {
            addCriterion("create_time <", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeLessThanOrEqualTo(LocalDateTime value) {
            addCriterion("create_time <=", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeIn(List<LocalDateTime> values) {
            addCriterion("create_time in", values, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeNotIn(List<LocalDateTime> values) {
            addCriterion("create_time not in", values, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeBetween(LocalDateTime value1, LocalDateTime value2) {
            addCriterion("create_time between", value1, value2, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeNotBetween(LocalDateTime value1, LocalDateTime value2) {
            addCriterion("create_time not between", value1, value2, "createTime");
            return (Criteria) this;
        }

        public Criteria andHasDeletedIsNull() {
            addCriterion("has_deleted is null");
            return (Criteria) this;
        }

        public Criteria andHasDeletedIsNotNull() {
            addCriterion("has_deleted is not null");
            return (Criteria) this;
        }

        public Criteria andHasDeletedEqualTo(Integer value) {
            addCriterion("has_deleted =", value, "hasDeleted");
            return (Criteria) this;
        }

        public Criteria andHasDeletedNotEqualTo(Integer value) {
            addCriterion("has_deleted <>", value, "hasDeleted");
            return (Criteria) this;
        }

        public Criteria andHasDeletedGreaterThan(Integer value) {
            addCriterion("has_deleted >", value, "hasDeleted");
            return (Criteria) this;
        }

        public Criteria andHasDeletedGreaterThanOrEqualTo(Integer value) {
            addCriterion("has_deleted >=", value, "hasDeleted");
            return (Criteria) this;
        }

        public Criteria andHasDeletedLessThan(Integer value) {
            addCriterion("has_deleted <", value, "hasDeleted");
            return (Criteria) this;
        }

        public Criteria andHasDeletedLessThanOrEqualTo(Integer value) {
            addCriterion("has_deleted <=", value, "hasDeleted");
            return (Criteria) this;
        }

        public Criteria andHasDeletedIn(List<Integer> values) {
            addCriterion("has_deleted in", values, "hasDeleted");
            return (Criteria) this;
        }

        public Criteria andHasDeletedNotIn(List<Integer> values) {
            addCriterion("has_deleted not in", values, "hasDeleted");
            return (Criteria) this;
        }

        public Criteria andHasDeletedBetween(Integer value1, Integer value2) {
            addCriterion("has_deleted between", value1, value2, "hasDeleted");
            return (Criteria) this;
        }

        public Criteria andHasDeletedNotBetween(Integer value1, Integer value2) {
            addCriterion("has_deleted not between", value1, value2, "hasDeleted");
            return (Criteria) this;
        }

        public Criteria andTimeIsNull() {
            addCriterion("`time` is null");
            return (Criteria) this;
        }

        public Criteria andTimeIsNotNull() {
            addCriterion("`time` is not null");
            return (Criteria) this;
        }

        public Criteria andTimeEqualTo(Integer value) {
            addCriterion("`time` =", value, "time");
            return (Criteria) this;
        }

        public Criteria andTimeNotEqualTo(Integer value) {
            addCriterion("`time` <>", value, "time");
            return (Criteria) this;
        }

        public Criteria andTimeGreaterThan(Integer value) {
            addCriterion("`time` >", value, "time");
            return (Criteria) this;
        }

        public Criteria andTimeGreaterThanOrEqualTo(Integer value) {
            addCriterion("`time` >=", value, "time");
            return (Criteria) this;
        }

        public Criteria andTimeLessThan(Integer value) {
            addCriterion("`time` <", value, "time");
            return (Criteria) this;
        }

        public Criteria andTimeLessThanOrEqualTo(Integer value) {
            addCriterion("`time` <=", value, "time");
            return (Criteria) this;
        }

        public Criteria andTimeIn(List<Integer> values) {
            addCriterion("`time` in", values, "time");
            return (Criteria) this;
        }

        public Criteria andTimeNotIn(List<Integer> values) {
            addCriterion("`time` not in", values, "time");
            return (Criteria) this;
        }

        public Criteria andTimeBetween(Integer value1, Integer value2) {
            addCriterion("`time` between", value1, value2, "time");
            return (Criteria) this;
        }

        public Criteria andTimeNotBetween(Integer value1, Integer value2) {
            addCriterion("`time` not between", value1, value2, "time");
            return (Criteria) this;
        }

        public Criteria andAppStoreIsNull() {
            addCriterion("app_store is null");
            return (Criteria) this;
        }

        public Criteria andAppStoreIsNotNull() {
            addCriterion("app_store is not null");
            return (Criteria) this;
        }

        public Criteria andAppStoreEqualTo(String value) {
            addCriterion("app_store =", value, "appStore");
            return (Criteria) this;
        }

        public Criteria andAppStoreNotEqualTo(String value) {
            addCriterion("app_store <>", value, "appStore");
            return (Criteria) this;
        }

        public Criteria andAppStoreGreaterThan(String value) {
            addCriterion("app_store >", value, "appStore");
            return (Criteria) this;
        }

        public Criteria andAppStoreGreaterThanOrEqualTo(String value) {
            addCriterion("app_store >=", value, "appStore");
            return (Criteria) this;
        }

        public Criteria andAppStoreLessThan(String value) {
            addCriterion("app_store <", value, "appStore");
            return (Criteria) this;
        }

        public Criteria andAppStoreLessThanOrEqualTo(String value) {
            addCriterion("app_store <=", value, "appStore");
            return (Criteria) this;
        }

        public Criteria andAppStoreLike(String value) {
            addCriterion("app_store like", value, "appStore");
            return (Criteria) this;
        }

        public Criteria andAppStoreNotLike(String value) {
            addCriterion("app_store not like", value, "appStore");
            return (Criteria) this;
        }

        public Criteria andAppStoreIn(List<String> values) {
            addCriterion("app_store in", values, "appStore");
            return (Criteria) this;
        }

        public Criteria andAppStoreNotIn(List<String> values) {
            addCriterion("app_store not in", values, "appStore");
            return (Criteria) this;
        }

        public Criteria andAppStoreBetween(String value1, String value2) {
            addCriterion("app_store between", value1, value2, "appStore");
            return (Criteria) this;
        }

        public Criteria andAppStoreNotBetween(String value1, String value2) {
            addCriterion("app_store not between", value1, value2, "appStore");
            return (Criteria) this;
        }

        public Criteria andShowCountIsNull() {
            addCriterion("show_count is null");
            return (Criteria) this;
        }

        public Criteria andShowCountIsNotNull() {
            addCriterion("show_count is not null");
            return (Criteria) this;
        }

        public Criteria andShowCountEqualTo(Integer value) {
            addCriterion("show_count =", value, "showCount");
            return (Criteria) this;
        }

        public Criteria andShowCountNotEqualTo(Integer value) {
            addCriterion("show_count <>", value, "showCount");
            return (Criteria) this;
        }

        public Criteria andShowCountGreaterThan(Integer value) {
            addCriterion("show_count >", value, "showCount");
            return (Criteria) this;
        }

        public Criteria andShowCountGreaterThanOrEqualTo(Integer value) {
            addCriterion("show_count >=", value, "showCount");
            return (Criteria) this;
        }

        public Criteria andShowCountLessThan(Integer value) {
            addCriterion("show_count <", value, "showCount");
            return (Criteria) this;
        }

        public Criteria andShowCountLessThanOrEqualTo(Integer value) {
            addCriterion("show_count <=", value, "showCount");
            return (Criteria) this;
        }

        public Criteria andShowCountIn(List<Integer> values) {
            addCriterion("show_count in", values, "showCount");
            return (Criteria) this;
        }

        public Criteria andShowCountNotIn(List<Integer> values) {
            addCriterion("show_count not in", values, "showCount");
            return (Criteria) this;
        }

        public Criteria andShowCountBetween(Integer value1, Integer value2) {
            addCriterion("show_count between", value1, value2, "showCount");
            return (Criteria) this;
        }

        public Criteria andShowCountNotBetween(Integer value1, Integer value2) {
            addCriterion("show_count not between", value1, value2, "showCount");
            return (Criteria) this;
        }

        public Criteria andSuccessCountIsNull() {
            addCriterion("success_count is null");
            return (Criteria) this;
        }

        public Criteria andSuccessCountIsNotNull() {
            addCriterion("success_count is not null");
            return (Criteria) this;
        }

        public Criteria andSuccessCountEqualTo(Integer value) {
            addCriterion("success_count =", value, "successCount");
            return (Criteria) this;
        }

        public Criteria andSuccessCountNotEqualTo(Integer value) {
            addCriterion("success_count <>", value, "successCount");
            return (Criteria) this;
        }

        public Criteria andSuccessCountGreaterThan(Integer value) {
            addCriterion("success_count >", value, "successCount");
            return (Criteria) this;
        }

        public Criteria andSuccessCountGreaterThanOrEqualTo(Integer value) {
            addCriterion("success_count >=", value, "successCount");
            return (Criteria) this;
        }

        public Criteria andSuccessCountLessThan(Integer value) {
            addCriterion("success_count <", value, "successCount");
            return (Criteria) this;
        }

        public Criteria andSuccessCountLessThanOrEqualTo(Integer value) {
            addCriterion("success_count <=", value, "successCount");
            return (Criteria) this;
        }

        public Criteria andSuccessCountIn(List<Integer> values) {
            addCriterion("success_count in", values, "successCount");
            return (Criteria) this;
        }

        public Criteria andSuccessCountNotIn(List<Integer> values) {
            addCriterion("success_count not in", values, "successCount");
            return (Criteria) this;
        }

        public Criteria andSuccessCountBetween(Integer value1, Integer value2) {
            addCriterion("success_count between", value1, value2, "successCount");
            return (Criteria) this;
        }

        public Criteria andSuccessCountNotBetween(Integer value1, Integer value2) {
            addCriterion("success_count not between", value1, value2, "successCount");
            return (Criteria) this;
        }

        public Criteria andSuccessMemberCountIsNull() {
            addCriterion("success_member_count is null");
            return (Criteria) this;
        }

        public Criteria andSuccessMemberCountIsNotNull() {
            addCriterion("success_member_count is not null");
            return (Criteria) this;
        }

        public Criteria andSuccessMemberCountEqualTo(Integer value) {
            addCriterion("success_member_count =", value, "successMemberCount");
            return (Criteria) this;
        }

        public Criteria andSuccessMemberCountNotEqualTo(Integer value) {
            addCriterion("success_member_count <>", value, "successMemberCount");
            return (Criteria) this;
        }

        public Criteria andSuccessMemberCountGreaterThan(Integer value) {
            addCriterion("success_member_count >", value, "successMemberCount");
            return (Criteria) this;
        }

        public Criteria andSuccessMemberCountGreaterThanOrEqualTo(Integer value) {
            addCriterion("success_member_count >=", value, "successMemberCount");
            return (Criteria) this;
        }

        public Criteria andSuccessMemberCountLessThan(Integer value) {
            addCriterion("success_member_count <", value, "successMemberCount");
            return (Criteria) this;
        }

        public Criteria andSuccessMemberCountLessThanOrEqualTo(Integer value) {
            addCriterion("success_member_count <=", value, "successMemberCount");
            return (Criteria) this;
        }

        public Criteria andSuccessMemberCountIn(List<Integer> values) {
            addCriterion("success_member_count in", values, "successMemberCount");
            return (Criteria) this;
        }

        public Criteria andSuccessMemberCountNotIn(List<Integer> values) {
            addCriterion("success_member_count not in", values, "successMemberCount");
            return (Criteria) this;
        }

        public Criteria andSuccessMemberCountBetween(Integer value1, Integer value2) {
            addCriterion("success_member_count between", value1, value2, "successMemberCount");
            return (Criteria) this;
        }

        public Criteria andSuccessMemberCountNotBetween(Integer value1, Integer value2) {
            addCriterion("success_member_count not between", value1, value2, "successMemberCount");
            return (Criteria) this;
        }

        public Criteria andSuccessScaleIsNull() {
            addCriterion("success_scale is null");
            return (Criteria) this;
        }

        public Criteria andSuccessScaleIsNotNull() {
            addCriterion("success_scale is not null");
            return (Criteria) this;
        }

        public Criteria andSuccessScaleEqualTo(Integer value) {
            addCriterion("success_scale =", value, "successScale");
            return (Criteria) this;
        }

        public Criteria andSuccessScaleNotEqualTo(Integer value) {
            addCriterion("success_scale <>", value, "successScale");
            return (Criteria) this;
        }

        public Criteria andSuccessScaleGreaterThan(Integer value) {
            addCriterion("success_scale >", value, "successScale");
            return (Criteria) this;
        }

        public Criteria andSuccessScaleGreaterThanOrEqualTo(Integer value) {
            addCriterion("success_scale >=", value, "successScale");
            return (Criteria) this;
        }

        public Criteria andSuccessScaleLessThan(Integer value) {
            addCriterion("success_scale <", value, "successScale");
            return (Criteria) this;
        }

        public Criteria andSuccessScaleLessThanOrEqualTo(Integer value) {
            addCriterion("success_scale <=", value, "successScale");
            return (Criteria) this;
        }

        public Criteria andSuccessScaleIn(List<Integer> values) {
            addCriterion("success_scale in", values, "successScale");
            return (Criteria) this;
        }

        public Criteria andSuccessScaleNotIn(List<Integer> values) {
            addCriterion("success_scale not in", values, "successScale");
            return (Criteria) this;
        }

        public Criteria andSuccessScaleBetween(Integer value1, Integer value2) {
            addCriterion("success_scale between", value1, value2, "successScale");
            return (Criteria) this;
        }

        public Criteria andSuccessScaleNotBetween(Integer value1, Integer value2) {
            addCriterion("success_scale not between", value1, value2, "successScale");
            return (Criteria) this;
        }

        public Criteria andAvgSuccessCountIsNull() {
            addCriterion("avg_success_count is null");
            return (Criteria) this;
        }

        public Criteria andAvgSuccessCountIsNotNull() {
            addCriterion("avg_success_count is not null");
            return (Criteria) this;
        }

        public Criteria andAvgSuccessCountEqualTo(Integer value) {
            addCriterion("avg_success_count =", value, "avgSuccessCount");
            return (Criteria) this;
        }

        public Criteria andAvgSuccessCountNotEqualTo(Integer value) {
            addCriterion("avg_success_count <>", value, "avgSuccessCount");
            return (Criteria) this;
        }

        public Criteria andAvgSuccessCountGreaterThan(Integer value) {
            addCriterion("avg_success_count >", value, "avgSuccessCount");
            return (Criteria) this;
        }

        public Criteria andAvgSuccessCountGreaterThanOrEqualTo(Integer value) {
            addCriterion("avg_success_count >=", value, "avgSuccessCount");
            return (Criteria) this;
        }

        public Criteria andAvgSuccessCountLessThan(Integer value) {
            addCriterion("avg_success_count <", value, "avgSuccessCount");
            return (Criteria) this;
        }

        public Criteria andAvgSuccessCountLessThanOrEqualTo(Integer value) {
            addCriterion("avg_success_count <=", value, "avgSuccessCount");
            return (Criteria) this;
        }

        public Criteria andAvgSuccessCountIn(List<Integer> values) {
            addCriterion("avg_success_count in", values, "avgSuccessCount");
            return (Criteria) this;
        }

        public Criteria andAvgSuccessCountNotIn(List<Integer> values) {
            addCriterion("avg_success_count not in", values, "avgSuccessCount");
            return (Criteria) this;
        }

        public Criteria andAvgSuccessCountBetween(Integer value1, Integer value2) {
            addCriterion("avg_success_count between", value1, value2, "avgSuccessCount");
            return (Criteria) this;
        }

        public Criteria andAvgSuccessCountNotBetween(Integer value1, Integer value2) {
            addCriterion("avg_success_count not between", value1, value2, "avgSuccessCount");
            return (Criteria) this;
        }

        public Criteria andFailCountIsNull() {
            addCriterion("fail_count is null");
            return (Criteria) this;
        }

        public Criteria andFailCountIsNotNull() {
            addCriterion("fail_count is not null");
            return (Criteria) this;
        }

        public Criteria andFailCountEqualTo(Integer value) {
            addCriterion("fail_count =", value, "failCount");
            return (Criteria) this;
        }

        public Criteria andFailCountNotEqualTo(Integer value) {
            addCriterion("fail_count <>", value, "failCount");
            return (Criteria) this;
        }

        public Criteria andFailCountGreaterThan(Integer value) {
            addCriterion("fail_count >", value, "failCount");
            return (Criteria) this;
        }

        public Criteria andFailCountGreaterThanOrEqualTo(Integer value) {
            addCriterion("fail_count >=", value, "failCount");
            return (Criteria) this;
        }

        public Criteria andFailCountLessThan(Integer value) {
            addCriterion("fail_count <", value, "failCount");
            return (Criteria) this;
        }

        public Criteria andFailCountLessThanOrEqualTo(Integer value) {
            addCriterion("fail_count <=", value, "failCount");
            return (Criteria) this;
        }

        public Criteria andFailCountIn(List<Integer> values) {
            addCriterion("fail_count in", values, "failCount");
            return (Criteria) this;
        }

        public Criteria andFailCountNotIn(List<Integer> values) {
            addCriterion("fail_count not in", values, "failCount");
            return (Criteria) this;
        }

        public Criteria andFailCountBetween(Integer value1, Integer value2) {
            addCriterion("fail_count between", value1, value2, "failCount");
            return (Criteria) this;
        }

        public Criteria andFailCountNotBetween(Integer value1, Integer value2) {
            addCriterion("fail_count not between", value1, value2, "failCount");
            return (Criteria) this;
        }

        public Criteria andWaitCountIsNull() {
            addCriterion("wait_count is null");
            return (Criteria) this;
        }

        public Criteria andWaitCountIsNotNull() {
            addCriterion("wait_count is not null");
            return (Criteria) this;
        }

        public Criteria andWaitCountEqualTo(Integer value) {
            addCriterion("wait_count =", value, "waitCount");
            return (Criteria) this;
        }

        public Criteria andWaitCountNotEqualTo(Integer value) {
            addCriterion("wait_count <>", value, "waitCount");
            return (Criteria) this;
        }

        public Criteria andWaitCountGreaterThan(Integer value) {
            addCriterion("wait_count >", value, "waitCount");
            return (Criteria) this;
        }

        public Criteria andWaitCountGreaterThanOrEqualTo(Integer value) {
            addCriterion("wait_count >=", value, "waitCount");
            return (Criteria) this;
        }

        public Criteria andWaitCountLessThan(Integer value) {
            addCriterion("wait_count <", value, "waitCount");
            return (Criteria) this;
        }

        public Criteria andWaitCountLessThanOrEqualTo(Integer value) {
            addCriterion("wait_count <=", value, "waitCount");
            return (Criteria) this;
        }

        public Criteria andWaitCountIn(List<Integer> values) {
            addCriterion("wait_count in", values, "waitCount");
            return (Criteria) this;
        }

        public Criteria andWaitCountNotIn(List<Integer> values) {
            addCriterion("wait_count not in", values, "waitCount");
            return (Criteria) this;
        }

        public Criteria andWaitCountBetween(Integer value1, Integer value2) {
            addCriterion("wait_count between", value1, value2, "waitCount");
            return (Criteria) this;
        }

        public Criteria andWaitCountNotBetween(Integer value1, Integer value2) {
            addCriterion("wait_count not between", value1, value2, "waitCount");
            return (Criteria) this;
        }

        public Criteria andOneGearsCountIsNull() {
            addCriterion("one_gears_count is null");
            return (Criteria) this;
        }

        public Criteria andOneGearsCountIsNotNull() {
            addCriterion("one_gears_count is not null");
            return (Criteria) this;
        }

        public Criteria andOneGearsCountEqualTo(Integer value) {
            addCriterion("one_gears_count =", value, "oneGearsCount");
            return (Criteria) this;
        }

        public Criteria andOneGearsCountNotEqualTo(Integer value) {
            addCriterion("one_gears_count <>", value, "oneGearsCount");
            return (Criteria) this;
        }

        public Criteria andOneGearsCountGreaterThan(Integer value) {
            addCriterion("one_gears_count >", value, "oneGearsCount");
            return (Criteria) this;
        }

        public Criteria andOneGearsCountGreaterThanOrEqualTo(Integer value) {
            addCriterion("one_gears_count >=", value, "oneGearsCount");
            return (Criteria) this;
        }

        public Criteria andOneGearsCountLessThan(Integer value) {
            addCriterion("one_gears_count <", value, "oneGearsCount");
            return (Criteria) this;
        }

        public Criteria andOneGearsCountLessThanOrEqualTo(Integer value) {
            addCriterion("one_gears_count <=", value, "oneGearsCount");
            return (Criteria) this;
        }

        public Criteria andOneGearsCountIn(List<Integer> values) {
            addCriterion("one_gears_count in", values, "oneGearsCount");
            return (Criteria) this;
        }

        public Criteria andOneGearsCountNotIn(List<Integer> values) {
            addCriterion("one_gears_count not in", values, "oneGearsCount");
            return (Criteria) this;
        }

        public Criteria andOneGearsCountBetween(Integer value1, Integer value2) {
            addCriterion("one_gears_count between", value1, value2, "oneGearsCount");
            return (Criteria) this;
        }

        public Criteria andOneGearsCountNotBetween(Integer value1, Integer value2) {
            addCriterion("one_gears_count not between", value1, value2, "oneGearsCount");
            return (Criteria) this;
        }

        public Criteria andTwoGearsCountIsNull() {
            addCriterion("two_gears_count is null");
            return (Criteria) this;
        }

        public Criteria andTwoGearsCountIsNotNull() {
            addCriterion("two_gears_count is not null");
            return (Criteria) this;
        }

        public Criteria andTwoGearsCountEqualTo(Integer value) {
            addCriterion("two_gears_count =", value, "twoGearsCount");
            return (Criteria) this;
        }

        public Criteria andTwoGearsCountNotEqualTo(Integer value) {
            addCriterion("two_gears_count <>", value, "twoGearsCount");
            return (Criteria) this;
        }

        public Criteria andTwoGearsCountGreaterThan(Integer value) {
            addCriterion("two_gears_count >", value, "twoGearsCount");
            return (Criteria) this;
        }

        public Criteria andTwoGearsCountGreaterThanOrEqualTo(Integer value) {
            addCriterion("two_gears_count >=", value, "twoGearsCount");
            return (Criteria) this;
        }

        public Criteria andTwoGearsCountLessThan(Integer value) {
            addCriterion("two_gears_count <", value, "twoGearsCount");
            return (Criteria) this;
        }

        public Criteria andTwoGearsCountLessThanOrEqualTo(Integer value) {
            addCriterion("two_gears_count <=", value, "twoGearsCount");
            return (Criteria) this;
        }

        public Criteria andTwoGearsCountIn(List<Integer> values) {
            addCriterion("two_gears_count in", values, "twoGearsCount");
            return (Criteria) this;
        }

        public Criteria andTwoGearsCountNotIn(List<Integer> values) {
            addCriterion("two_gears_count not in", values, "twoGearsCount");
            return (Criteria) this;
        }

        public Criteria andTwoGearsCountBetween(Integer value1, Integer value2) {
            addCriterion("two_gears_count between", value1, value2, "twoGearsCount");
            return (Criteria) this;
        }

        public Criteria andTwoGearsCountNotBetween(Integer value1, Integer value2) {
            addCriterion("two_gears_count not between", value1, value2, "twoGearsCount");
            return (Criteria) this;
        }

        public Criteria andThreeGearsCountIsNull() {
            addCriterion("three_gears_count is null");
            return (Criteria) this;
        }

        public Criteria andThreeGearsCountIsNotNull() {
            addCriterion("three_gears_count is not null");
            return (Criteria) this;
        }

        public Criteria andThreeGearsCountEqualTo(Integer value) {
            addCriterion("three_gears_count =", value, "threeGearsCount");
            return (Criteria) this;
        }

        public Criteria andThreeGearsCountNotEqualTo(Integer value) {
            addCriterion("three_gears_count <>", value, "threeGearsCount");
            return (Criteria) this;
        }

        public Criteria andThreeGearsCountGreaterThan(Integer value) {
            addCriterion("three_gears_count >", value, "threeGearsCount");
            return (Criteria) this;
        }

        public Criteria andThreeGearsCountGreaterThanOrEqualTo(Integer value) {
            addCriterion("three_gears_count >=", value, "threeGearsCount");
            return (Criteria) this;
        }

        public Criteria andThreeGearsCountLessThan(Integer value) {
            addCriterion("three_gears_count <", value, "threeGearsCount");
            return (Criteria) this;
        }

        public Criteria andThreeGearsCountLessThanOrEqualTo(Integer value) {
            addCriterion("three_gears_count <=", value, "threeGearsCount");
            return (Criteria) this;
        }

        public Criteria andThreeGearsCountIn(List<Integer> values) {
            addCriterion("three_gears_count in", values, "threeGearsCount");
            return (Criteria) this;
        }

        public Criteria andThreeGearsCountNotIn(List<Integer> values) {
            addCriterion("three_gears_count not in", values, "threeGearsCount");
            return (Criteria) this;
        }

        public Criteria andThreeGearsCountBetween(Integer value1, Integer value2) {
            addCriterion("three_gears_count between", value1, value2, "threeGearsCount");
            return (Criteria) this;
        }

        public Criteria andThreeGearsCountNotBetween(Integer value1, Integer value2) {
            addCriterion("three_gears_count not between", value1, value2, "threeGearsCount");
            return (Criteria) this;
        }

        public Criteria andFourGearsCountIsNull() {
            addCriterion("four_gears_count is null");
            return (Criteria) this;
        }

        public Criteria andFourGearsCountIsNotNull() {
            addCriterion("four_gears_count is not null");
            return (Criteria) this;
        }

        public Criteria andFourGearsCountEqualTo(Integer value) {
            addCriterion("four_gears_count =", value, "fourGearsCount");
            return (Criteria) this;
        }

        public Criteria andFourGearsCountNotEqualTo(Integer value) {
            addCriterion("four_gears_count <>", value, "fourGearsCount");
            return (Criteria) this;
        }

        public Criteria andFourGearsCountGreaterThan(Integer value) {
            addCriterion("four_gears_count >", value, "fourGearsCount");
            return (Criteria) this;
        }

        public Criteria andFourGearsCountGreaterThanOrEqualTo(Integer value) {
            addCriterion("four_gears_count >=", value, "fourGearsCount");
            return (Criteria) this;
        }

        public Criteria andFourGearsCountLessThan(Integer value) {
            addCriterion("four_gears_count <", value, "fourGearsCount");
            return (Criteria) this;
        }

        public Criteria andFourGearsCountLessThanOrEqualTo(Integer value) {
            addCriterion("four_gears_count <=", value, "fourGearsCount");
            return (Criteria) this;
        }

        public Criteria andFourGearsCountIn(List<Integer> values) {
            addCriterion("four_gears_count in", values, "fourGearsCount");
            return (Criteria) this;
        }

        public Criteria andFourGearsCountNotIn(List<Integer> values) {
            addCriterion("four_gears_count not in", values, "fourGearsCount");
            return (Criteria) this;
        }

        public Criteria andFourGearsCountBetween(Integer value1, Integer value2) {
            addCriterion("four_gears_count between", value1, value2, "fourGearsCount");
            return (Criteria) this;
        }

        public Criteria andFourGearsCountNotBetween(Integer value1, Integer value2) {
            addCriterion("four_gears_count not between", value1, value2, "fourGearsCount");
            return (Criteria) this;
        }
    }

    /**
     */
    public static class Criteria extends GeneratedCriteria {

        protected Criteria() {
            super();
        }
    }

    public static class Criterion {
        private String condition;

        private Object value;

        private Object secondValue;

        private boolean noValue;

        private boolean singleValue;

        private boolean betweenValue;

        private boolean listValue;

        private String typeHandler;

        public String getCondition() {
            return condition;
        }

        public Object getValue() {
            return value;
        }

        public Object getSecondValue() {
            return secondValue;
        }

        public boolean isNoValue() {
            return noValue;
        }

        public boolean isSingleValue() {
            return singleValue;
        }

        public boolean isBetweenValue() {
            return betweenValue;
        }

        public boolean isListValue() {
            return listValue;
        }

        public String getTypeHandler() {
            return typeHandler;
        }

        protected Criterion(String condition) {
            super();
            this.condition = condition;
            this.typeHandler = null;
            this.noValue = true;
        }

        protected Criterion(String condition, Object value, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.typeHandler = typeHandler;
            if (value instanceof List<?>) {
                this.listValue = true;
            } else {
                this.singleValue = true;
            }
        }

        protected Criterion(String condition, Object value) {
            this(condition, value, null);
        }

        protected Criterion(String condition, Object value, Object secondValue, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.secondValue = secondValue;
            this.typeHandler = typeHandler;
            this.betweenValue = true;
        }

        protected Criterion(String condition, Object value, Object secondValue) {
            this(condition, value, secondValue, null);
        }
    }
}